def f1(x1, x2):
    return (x2 - x1) / x1


def f2(x1, x2):
    return (x2 - x1) / x2


# x1 = eval('2,705.80'.replace(',', ''))
# x2 = eval('2,676.30'.replace(',', ''))

x2 = "2,617.70"
x1 = "2,694.80"


x2 = eval(x2.replace(',', ''))
x1 = eval(x1.replace(',', ''))


print(f1(x1, x2))
# print(f2(x1, x2))


